<template>
    <header class="login-header">
      <div class="wrapper">
        <h1 class="logo"><RouterLink to="/">三叉戟商城</RouterLink></h1>
        <h3 class="sub"><slot /></h3>
        <RouterLink class="entry" to="/">
          进入网站首页
          <i class="iconfont icon-xiangyoujiantou"></i>
          <i class="iconfont icon-xiangyoujiantou"></i>
        </RouterLink>
      </div>
    </header>
</template>
  
<script setup>
</script>
  
<style scoped lang='scss'>
  .login-header {
    background: #fff;
    border-bottom: 1px solid #e4e4e4;
    .wrapper {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      .logo {
        width: 240px;
        a {
          display: block;
          height: 110px;
          text-indent: -9999px;
          background: url(../../../assets/images/logo.png) no-repeat center 18px / contain;
        }
      }
      .sub {
        flex: 1;
        font-size: 24px;
        font-weight: normal;
        margin-bottom: 38px;
        color: #666;
      }
      .entry {
        width: 120px;
        margin-bottom: 38px;
        font-size: 16px;
        i {
          font-size: 14px;
          color: $main-color;
          letter-spacing: -5px;
        }
      }
    }
  }
  </style>